
//
// server info
//
@interface ServerInfo : NSObject<NSCopying>

//
// name
//
@property(strong, nonatomic, readwrite) NSString*							serverName;

//
// type
//
@property(strong, nonatomic, readwrite) NSString*							serverType;

//
// address
//
@property(strong, nonatomic, readwrite) NSString*							serverAddress;

//
// user name
//
@property(strong, nonatomic, readwrite) NSString*							userName;

//
// password
//
@property(strong, nonatomic, readwrite) NSString*							password;

//
// init with config
//
- (id)initWithConfig:(NSDictionary*)serverConfig;

//
// config dictionary, XXX NSCoding?
//
- (NSDictionary*)configDictionary;

@end
